package com.example.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

/**
 * 预约取消请求DTO
 * 
 * @author HP
 * @description 用于接收预约取消请求的数据传输对象
 * @createDate 2025-08-26 19:37:00
 */
@Data
@Schema(description = "预约取消请求")
public class ReservationCancelRequestDTO {

    @Schema(description = "预约ID", required = true, example = "1")
    @NotNull(message = "预约ID不能为空")
    private Long reservationId;

    @Schema(description = "取消原因", example = "临时有事")
    private String reason;

    @Schema(description = "是否为管理员操作", example = "false")
    private Boolean isAdminOperation = false;
}